package com.soulless.innerclass.demo1;

/**
 * <p>
 *
 * </p>
 *
 * @author zenglei
 * @date 2023/05/19/ 15:46
 */
public class Payer {

    private class PayImpl implements IPay {
        @Override
        public void pay() {
            System.out.println("pay ing ...");
        }
    }

    public IPay startPay() {
        return new PayImpl();
    }

}
